getImage

abstract fun getImage(key: String, target: VariableTarget?): Uri

Get an image variable.

Return

the URI of the image.

Parameters

key

the variable's key.

target

the layer to read. null returns the value that the scene shows: the value of the active value set, else the default value.


open fun getImage(key: String): Uri

Get the shown value of an image variable. Same as getImage with no target.